<!--
 * @Author: your name
 * @Date: 2021-09-02 17:14:41
 * @LastEditTime: 2021-09-02 17:23:03
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \bigdate\src\components\Tooltip\Tooltip.vue
-->
<template>
    <Tooltip>
        <template #title>
            {{ titles }}
        </template>
        <slot></slot>
    </Tooltip>
</template>

<script lang="ts">
import { Tooltip } from 'ant-design-vue'
import { defineComponent } from 'vue'

export default defineComponent({
    name: 'Tooltip',
    components: {
        Tooltip,
    },
    props: {
        titles: {
            type: String,
        },
    },
})
</script>

<style></style>
